import org.avaje.agentloader.AgentLoader;

/**
 * @author christ
 * @date 2016/6/3
 */
public class EbeanEnhancer {

    public static void enhance(){

        String args = "debug=1;packages=archer.*,";

        if (!AgentLoader.loadAgentFromClasspath("avaje-ebeanorm-agent", args)) {

            System.out.println("avaje-ebeanorm-agent not found in classpath - not dynamically loaded");
        }
    }
}
